var server=require('./server');
var router=require('./route');
var handler=require('./requestHandler');
var handle={};
handle['/']=handler.start;
handle['/start']=handler.start;
handle['/upload']=handler.upload;
handle['/show']=handler.show;

server.start(router.route,handle);
console.log('server has started');